package com.RLFZ.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.RLFZ.entity.Role;

import java.util.List;

/**
 * 服务接口
 *
 * @author zh
 * @since 2022-08-25 17:16:58
 * @description 
 */
public interface RoleService extends IService<Role> {

    List<Integer> queryRolePermissionIdsByRid(Integer roleId);

    void deleteRoleByRid(Integer rid);

    void saveRoleMenu(Integer rid, Integer mid);

    List<Integer> queryUserRoleById(Integer id);


    List<Integer> queryAllPermissionByRid(Integer rid);
}
